import { createApp } from 'vue'
import App from './App.vue'
import './assets/style/global_config.scss'
import 'element-plus/dist/index.css'
import './assets/style/element.scss'
import plugins from './plugins'
import router from './router'
import store from './store'
import {componentsPlugin} from './utils/element-plus'
import { componentIcon } from './utils/element-plus'
import { iconDrag,windowDrag } from './directive'
import { vLoading } from "element-plus/es/components/loading/src/directive";

const app = createApp(App)
app.use(store)
app.use(router)
app.use(plugins)
app.directive('iconDrag',iconDrag)
app.directive('windowDrag',windowDrag)
app.directive('load', vLoading)
componentIcon(app)
// componentsPlugin(app)
app.mount('#app')

